package ar.edu.unsam.algo3.plantasvszombies.wicket;

import ar.edu.unsam.algo3.plantasvszombies.ui.ApplicationModels.JardinAppModel;
import ar.edu.unsam.algo3.plantasvszombies.wicket.MenuNavegacionPanel;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.panel.Panel;
import org.eclipse.xtext.xbase.lib.Functions.Function0;

@SuppressWarnings("all")
public class MainPage extends WebPage {
  private JardinAppModel _jardinApp = new Function0<JardinAppModel>() {
    public JardinAppModel apply() {
      JardinAppModel _jardinAppModel = new JardinAppModel();
      return _jardinAppModel;
    }
  }.apply();
  
  public JardinAppModel getJardinApp() {
    return this._jardinApp;
  }
  
  public void setJardinApp(final JardinAppModel jardinApp) {
    this._jardinApp = jardinApp;
  }
  
  private Panel panel;
  
  public Panel menuNavegacion() {
    JardinAppModel _jardinApp = this.getJardinApp();
    MenuNavegacionPanel _menuNavegacionPanel = new MenuNavegacionPanel(_jardinApp);
    Panel _panel = this.panel = _menuNavegacionPanel;
    return _panel;
  }
}
